﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HolidayVilla.aspx.cs" EnableViewState="false"
    Inherits="NJL.Web.HolidayVilla" %>

<%@ Import Namespace="Royalsoft.Common" %>
<%@ Register Src="Controls/WUCHeader.ascx" TagName="WUCHeader" TagPrefix="uc1" %>
<%@ Register Src="Controls/WUCFooter.ascx" TagName="WUCFooter" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>度假山庄-农家乐网</title>
    <link rel="stylesheet" type="text/css" href="/Styles/base1.css" />
    <link rel="stylesheet" type="text/css" href="/Styles/manage.css" media="screen" />
    <script type="text/javascript" language="javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" language="javascript" src="/Scripts/jquery.KinSlideshow-1.1.js"></script>
</head>
<body>
    <form id="form1">
    <uc1:WUCHeader ID="WUCHeader1" runat="server" />
    <!--主要内容-->
    <div class="clearfix w1003" id="content">
        <div class="blank cleanFlex">
        </div>
        <!--位置-->
        <div class="place02">
            <p>
                您现在的位置是：<a href="/">首页</a>>><span>度假山庄</span>
            </p>
        </div>
        <div class="blank cleanFlex">
        </div>
        <div>
            <!--左侧-->
            <div class="w_730 f_left">
                <!--顶部推广-->
                <div>
                    <div style="float: left; width: 285px; height: 285px; margin: auto; background: #FFFFFF;
                        border: solid 1px #CCCCCC" align="center">
                        <div style="width: 285px; height: 285px; overflow: hidden;">
                            <script type="text/javascript">
                                $(function () {
                                    $("#KinSlideshow").KinSlideshow({ isHasTitleBar: false, isHasTitleFont: false, moveStyle: "up" });
                                })
                            </script>
                            <div id="KinSlideshow" style="visibility: hidden;">
                                <%
                                    for (int i = 0; i < LIST_FLASH.Count; i++)
                                    {
                                %>
                                <a href="<%=LIST_FLASH[i].LINK_TO_URL %>" title="<%=LIST_FLASH[i].NEWS_TITLE %>"
                                    target="_blank">
                                    <img src="<%=GetImageUrl(LIST_FLASH[i].IMAGE_CODE) %>" alt="<%=LIST_FLASH[i].NEWS_TITLE %>"
                                        width="285px" height="285px" /></a>
                                <% 
                                    }
                                %>
                            </div>
                        </div>
                    </div>
                    <!--大热门-->
                    <div class="holidayhot f_right cont">
                        <div class="firstnews  dashline">
                            <asp:Repeater ID="rptImageNewsList" runat="server">
                                <ItemTemplate>
                                    <h2>
                                        <strong><a href="/djsz/xinwen/<%#Eval("ID") %>.html" target="_blank" class="green">
                                            <%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),20)%></a></strong></h2>
                                    <p>
                                        <%#PageValidate.SqlText(Eval("NEWS_SUBJECT_TITLE").ToString(),95)%>…<span class="detail"><a
                                            href="/djsz/xinwen/<%#Eval("ID") %>.html" target="_blank">[详情]</a></span></p>
                                </ItemTemplate>
                            </asp:Repeater>
                        </div>
                        <div class="cont">
                            <ul class="arrowList dotlist">
                                <asp:Repeater ID="rptNewsList" runat="server">
                                    <ItemTemplate>
                                        <li><span>[<%#Eval("CREATE_DATE_TIME","{0:yyyy-MM-dd}")%>]</span><a href="/djsz/xinwen/<%#Eval("ID") %>.html"
                                            target="_blank"><%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),23)%></a></li>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="cleanFlex">
                </div>
                <!--各区农家乐-->
                <asp:Repeater ID="rptHolidayValla" runat="server" OnItemDataBound="rptHolidayValla_ItemDataBound">
                    <ItemTemplate>
                        <div class="m_top_10 box">
                            <div class="titlegreenBor">
                                <span class="f_right">
                                    【 <a target="_blank" href="/shangpu/<%#Eval("ID") %>-index.html">进去瞄一哈</a>】
                                </span>
                                <h2 style="position:relative;overflow:hidden;">
                                    <b class="f_left"><a href="#" target="_blank"><%#Eval("COMPANY_NAME")%></a></b>
                                    <span class="shop-promise shop-promiseH" style="display:none">
                                        <b class="cheng"><a href="#" title="诚信认证"></a></b>
                                        <b class="shou"><a href="#" title="预定授权"></a></b>
                                        <b class="zhi"><a href="#"  title="相关资质"></a></b>
                                        <b class="yu"><a href="#" title="我要预定"></a></b>
                                   </span>
                                </h2>
                            </div>
                            <div class="cont cleanFlex">
                                <ul class="imglist">
                                    <asp:Repeater ID="rptService" runat="server">
                                        <ItemTemplate>
                                            <li style="width: 155px; height: 133px;"><a target="_blank" href="/shangpu/<%#Eval("NJL_COMPANY_ID") %>-fuwu-<%#Eval("ID") %>.html"
                                                title="<%#Eval("SERVICE_NAME") %>">
                                                <img width="147px" height="105px" class="picBor" src="<%#GetImageUrl(Eval("IMAGE_CODE").ToString(),"1") %>"
                                                    alt="<%#Eval("SERVICE_NAME") %>" title="<%#Eval("SERVICE_NAME") %>" /></a><p>
                                                        <a href="/shangpu/<%#Eval("NJL_COMPANY_ID") %>-fuwu-<%#Eval("ID") %>.html">
                                                            <%#PageValidate.SqlText(Eval("SERVICE_NAME").ToString(),10) %></a></p>
                                                <p>
                                                    <%--<a href="#">评分：99分</a>--%></p>
                                            </li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </ul>
                                <div class="cleanFlex">
                                </div>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
                <div id="pager" runat="server" class="pageBord cleanFlex m_top_10">
                </div>
                <!--新华度假山庄-->
                <div class="cleanFlex m_top_10" style="display: none">
                    <div class="titleGreen">
                        <h2>
                            <strong>新华度假山庄</strong><b></b></h2>
                    </div>
                    <div class="box cleanFlex cont">
                        <!--左侧图片-->
                        <div class="recoHo f_left">
                            <a href="#">
                                <img src="/Images/ads_35.jpg" alt="" /></a> <a href="#">
                                    <img src="/Images/ads_36.jpg" alt="" /></a>
                        </div>
                        <!--右侧-->
                        <div class="recoHoFont f_right">
                            <fieldset class="boxReco">
                                <legend>最新评论</legend>
                                <p>
                                    <a href="#" class="orange">[浪淘沙2008]</a> 经常在阳光下活动的人对晒伤的抵抗力较好。也可以使用有防晒功能的遮阳伞（有银色涂层的）。或穿长袖衣服。当然擦防晒霜更好啦，
                                    记得游泳或大量出汗后别忘了补擦。</p>
                            </fieldset>
                            <fieldset class="boxReco">
                                <legend>最新活动</legend>
                                <ul class="arrowlist">
                                    <li><span>[2010-06-25]</span><a href="#">张公山寨采桃节一日旅游活动行程 </a></li>
                                    <li><span>[2010-06-25]</span><a href="#">张公山寨采桃节一日旅游活动行程 </a></li>
                                    <li><span>[2010-06-25]</span><a href="#">张公山寨采桃节一日旅游活动行程 </a></li>
                                </ul>
                            </fieldset>
                        </div>
                        <div class="cleanFlex">
                        </div>
                    </div>
                </div>
            </div>
            <!--右侧-->
            <div class="width_260 f_right">
                <!--会议视频-->
                <div class="box">
                    <div class="titlearrow">
                        <h2>
                            <strong>商务会议</strong></h2>
                    </div>
                    <div class="cont">
                           <%@ Register src="Controls/Ad.ascx" tagname="Ad" tagprefix="uc1" %>
                            <uc1:Ad ID="Ad1" runat="server" AdId="6"/>
                        <ul class="arrowList m_top_10">
                            <asp:Repeater ID="rptMeeting" runat="server">
                                <ItemTemplate>
                                    <li><a href="/djsz/huiyi/<%#Eval("ID") %>.html" target="_blank" title="<%#Eval("NEWS_TITLE") %>">
                                        <%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),18)%></a></li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
                <!--周边同类-->
                <div class="box m_top_10">
                    <div class="titlearrow">
                        <h2>
                            <strong>周边同类</strong></h2>
                    </div>
                    <div class="cont" style="_padding:8px 0px;">
                        <ul class="imglist">
                            <asp:Repeater ID="rptPeriphery" runat="server">
                                <ItemTemplate>
                                    <li style="width:101px; height: 96px;"><a target="_blank" href="/shangpu/<%#Eval("ID") %>-index.html">
                                        <img src="<%#GetImageUrl(Eval("IMAGE_CODE").ToString(),"2") %>" alt="<%#Eval("COMPANY_NAME") %>"
                                            width="93px" height="69px" class="picBor" style="display: block;" title="<%#Eval("COMPANY_NAME") %>" />
                                    </a>
                                        <p>
                                            <a target="_blank" href="/shangpu/<%#Eval("ID") %>-index.html">
                                                <%#PageValidate.SqlText(Eval("COMPANY_NAME").ToString(),7)%>
                                            </a>
                                        </p>
                                    </li>
                               </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                            
                        <div class="cleanFlex" style="height: 1px;">
                        </div>
                    </div>
                </div>
                <div class="blank cleanFlex">
                </div>
            </div>
        </div>
        <div class="blank cleanFlex">
        </div>
        <!--度假@大视野-->
        <div class="box m_top_10">
            <div class="titlearrow">
                <h2>
                    度假@大视野</h2>
            </div>
            <div class="cont">
                <marquee behavior="alternate" height="140px"  scrollamount="2" onmouseover="this.stop()"
                    onmouseout="this.start()">
                <ul class="imglist imglistF">
                    <%
                        for (int i = 0; i < LIST_ATTRACTION.Count; i++)
                        {
                            %>
                    <li style="width:155px;height:133px;">
                        <a target="_blank" title="<%=LIST_ATTRACTION[i].ATTRACTION_NAME %>" href="/<%=GetAreaNamePinYin(LIST_ATTRACTION[i].AREA_CODE) %>/jdms/<%=LIST_ATTRACTION[i].ID %>.html">
                            <img src="<%=GetImageUrl(LIST_ATTRACTION[i].IMAGE_CODE,"1") %>" width="147px" height="105px" alt="<%=LIST_ATTRACTION[i].ATTRACTION_NAME %>" class="picBor" />
                        </a>
                        <p>
                            <a target="_blank" title="<%=LIST_ATTRACTION[i].ATTRACTION_NAME %>" href="/<%=GetAreaNamePinYin(LIST_ATTRACTION[i].AREA_CODE) %>/jdms/<%=LIST_ATTRACTION[i].ID %>.html"><%if (LIST_ATTRACTION[i].ATTRACTION_NAME.Length > 12) Response.Write(LIST_ATTRACTION[i].ATTRACTION_NAME.Substring(0, 12) + "..."); else Response.Write(LIST_ATTRACTION[i].ATTRACTION_NAME);%></a>
                        </p>
                    </li>
                            <% 
                                }
                    %>
                </ul></marquee>
                <div class="cleanFlex blank">
                </div>
            </div>
        </div>
    </div>
    <uc2:WUCFooter ID="WUCFooter1" runat="server" />
    </form>
</body>
</html>
